<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<!-- saved from url=(0057)http://localhost:8080/chinamobile/dept.do?oprate=showList -->
<HTML xmlns="http://www.w3.org/1999/xhtml"><HEAD><TITLE></TITLE>
<META http-equiv=Content-Type content="text/html; charset=utf-8"><LINK 
href="../css/style.css" type=text/css rel=stylesheet>
<META content="MSHTML 6.00.5730.13" name=GENERATOR></HEAD>
<BODY>
<DIV id=wrap>
<DIV id=top_content>
<DIV id=header></DIV>
<DIV id=content>
<DIV id=navigation>
<SCRIPT type=text/javascript>
function logout(){
	var flag=window.confirm("确认退出？");
	if(flag==true)
	 window.location="logout.do";
}

</SCRIPT>

<SCRIPT language=javascript>
function show(obj,maxg,obj2){
  if(obj.style.pixelHeight<maxg){
    obj.style.pixelHeight+=maxg/10;
	obj.filters.alpha.opacity+=20;
	obj2.background="../img/title_hide.gif";
    if(obj.style.pixelHeight==maxg/10)
	  obj.style.display='block';
	myObj=obj;
	mymaxg=maxg;
	myObj2=obj2;
	setTimeout('show(myObj,mymaxg,myObj2)','5');
  }
}
function hide(obj,maxg,obj2){
  if(obj.style.pixelHeight>0){
    if(obj.style.pixelHeight==maxg/5)
	  obj.style.display='none';
    obj.style.pixelHeight-=maxg/5;
	obj.filters.alpha.opacity-=10;
	obj2.background="../img/title_show.gif";
	myObj=obj;
	mymaxg=maxg
	myObj2=obj2;
	setTimeout('hide(myObj,mymaxg,myObj2)','5');
  }
  else if(whichContinue) whichContinue.click();
}
function chang(obj,maxg,obj2){
  if(obj.style.pixelHeight){
    hide(obj,maxg,obj2);
	nopen='';
	whichcontinue='';
  }else if(nopen){
	  whichContinue=obj2;
      nopen.click();
	}else{
	  show(obj,maxg,obj2);
	  nopen=obj2;
	  whichContinue='';
	}
}
</SCRIPT>

<TABLE cellSpacing=0 cellPadding=0 align=left border=0>
  <TBODY>
  <TR>
    <TD vAlign=top>
      <TABLE cellSpacing=0 cellPadding=0 width=158>
        <TBODY>
        <TR style="CURSOR: hand">
          <TD vAlign=bottom><IMG height=30 src="../img/title.gif" 
            width=158> </TD></TR></TBODY></TABLE>
      <TABLE cellSpacing=0 cellPadding=0 width=158>
        <TBODY>
        <TR style="CURSOR: hand">
          <TD class=list_title id=list1 
          onmouseover="this.typename='list_title2';" 
          onclick=chang(menu1,50,list1); 
          onmouseout="this.typename='list_title';" 
          background=../img/title_show.gif height=25><SPAN>部门管理</SPAN> 
        </TD></TR>
        <TR>
          <TD vAlign=center>
            <DIV class=sec_menu id=menu1 
            style="DISPLAY: none; FILTER: alpha(Opacity =   0); WIDTH: 158px; HEIGHT: 0px">
            <TABLE style="PADDING-LEFT: 5px" cellSpacing=0 cellPadding=0 
            width=152 align=center background=../img/bg.gif>
              <TBODY>
              <TR>
                <TD height=25><A 
                  href="http://localhost:8080/chinamobile/dept.do?oprate=showList" 
                  target=BoardList>部门列表</A> </TD></TR>
              <TR>
                <TD height=25><A 
                  href="http://localhost:8080/chinamobile/dept.do?oprate=addForm" 
                  target=BoardList>新增部门</A> 
        </TD></TR></TBODY></TABLE></DIV></TD></TR></TBODY></TABLE>
      <TABLE cellSpacing=0 cellPadding=0 width=158>
        <TBODY>
        <TR style="CURSOR: hand">
          <TD class=list_title id=list2 
          onmouseover="this.typename='list_title2';" 
          onclick=chang(menu2,80,list2); 
          onmouseout="this.typename='list_title';" 
          background=../img/title_show.gif height=25><SPAN>机房管理</SPAN> 
        </TD></TR>
        <TR>
          <TD>
            <DIV class=sec_menu id=menu2 
            style="DISPLAY: none; FILTER: alpha(Opacity =  0); WIDTH: 158px; HEIGHT: 0px">
            <TABLE style="PADDING-LEFT: 5px" cellSpacing=2 cellPadding=0 
            width=152 background=../img/bg.gif>
              <TBODY>
              <TR>
                <TD height=25><A 
                  href="http://localhost:8080/chinamobile/pcroom.do?oprate=showList" 
                  target=BoardList>机房信息</A> </TD></TR>
              <TR>
                <TD height=25><A 
                  href="http://localhost:8080/chinamobile/pcroom.do?oprate=addForm" 
                  target=BoardList>新增机房</A> </TD></TR>
              <TR>
                <TD height=25><A 
                  href="http://localhost:8080/chinamobile/pcroom.do?oprate=selectForm" 
                  target=BoardList>查询机房</A> 
        </TD></TR></TBODY></TABLE></DIV></TD></TR></TBODY></TABLE>
      <TABLE cellSpacing=0 cellPadding=0 width=158>
        <TBODY>
        <TR style="CURSOR: hand">
          <TD class=list_title id=list10 
          onmouseover="this.typename='list_title2';" 
          onclick=chang(menu10,80,list10); 
          onmouseout="this.typename='list_title';" 
          background=../img/title_show.gif height=25><SPAN>人员管理</SPAN> 
        </TD></TR>
        <TR>
          <TD vAlign=center>
            <DIV class=sec_menu id=menu10 
            style="DISPLAY: none; FILTER: alpha(Opacity =   0); WIDTH: 158px; HEIGHT: 0px">
            <TABLE style="PADDING-LEFT: 5px" cellSpacing=2 cellPadding=0 
            width=152 background=../img/bg.gif>
              <TBODY>
              <TR>
                <TD height=25><A 
                  href="http://localhost:8080/chinamobile/staff.do?oprate=showList" 
                  target=BoardList>人员信息</A> </TD></TR>
              <TR>
                <TD height=25><A 
                  href="http://localhost:8080/chinamobile/staff.do?oprate=addForm" 
                  target=BoardList>新增人员</A> </TD></TR>
              <TR>
                <TD height=25><A 
                  href="http://localhost:8080/chinamobile/staff.do?oprate=selectForm" 
                  target=BoardList>查询人员</A> 
        </TD></TR></TBODY></TABLE></DIV></TD></TR></TBODY></TABLE>
      <TABLE cellSpacing=0 cellPadding=0 width=158>
        <TBODY>
        <TR style="CURSOR: hand">
          <TD class=list_title id=list4 
          onmouseover="this.typename='list_title2';" 
          onclick=chang(menu4,50,list4); 
          onmouseout="this.typename='list_title';" 
          background=../img/title_show.gif height=25><SPAN>权限管理</SPAN> 
        </TD></TR>
        <TR>
          <TD vAlign=center>
            <DIV class=sec_menu id=menu4 
            style="DISPLAY: none; FILTER: alpha(Opacity =   0); WIDTH: 158px; HEIGHT: 0px">
            <TABLE style="PADDING-LEFT: 5px" cellSpacing=2 cellPadding=0 
            width=152 background=../img/bg.gif>
              <TBODY>
              <TR>
                <TD height=25><A 
                  href="http://localhost:8080/chinamobile/role.do?oprate=showRoleList" 
                  target=BoardList>角色管理</A> </TD></TR>
              <TR>
                <TD height=25><A 
                  href="http://localhost:8080/chinamobile/privilege.do?oprate=configPrivList" 
                  target=BoardList>配置用户</A> 
        </TD></TR></TBODY></TABLE></DIV></TD></TR></TBODY></TABLE>
      <SCRIPT language=javascript>
  var nopen="";
  var whichContinue="";
      </SCRIPT>

      <TABLE cellSpacing=0 cellPadding=0 width=158>
        <TBODY>
        <TR style="CURSOR: hand">
          <TD class=list_title id=list7 
          onmouseover="this.typename='list_title2';" 
          onclick=chang(menu7,30,list7); 
          onmouseout="this.typename='list_title';" 
          background=../img/title_show.gif height=25><SPAN>日志管理</SPAN> 
        </TD></TR>
        <TR>
          <TD vAlign=center>
            <DIV class=sec_menu id=menu7 
            style="DISPLAY: none; FILTER: alpha(Opacity =   0); WIDTH: 158px; HEIGHT: 0px">
            <TABLE style="PADDING-LEFT: 5px" cellSpacing=2 cellPadding=0 
            width=152 background=../img/bg.gif>
              <TBODY>
              <TR>
                <TD height=25><A 
                  href="http://localhost:8080/chinamobile/log.do?oprate=queryForm" 
                  target=BoardList>日志查询</A> 
        </TD></TR></TBODY></TABLE></DIV></TD></TR></TBODY></TABLE>
      <TABLE cellSpacing=0 cellPadding=0 width=158>
        <TBODY>
        <TR style="CURSOR: hand">
          <TD class=list_title id=list57 background=../img/title_show.gif 
          height=25><SPAN><A href="javascript:logout();"><B>注销</B></A></SPAN> 
          </TD></TR>
        <TR>
          <TD vAlign=center height=40>
            <DIV class=sec_menu id=menu8 
            style="BACKGROUND: #fff; FILTER: alpha(Opacity =   100); WIDTH: 158px; HEIGHT: 40px"><IMG 
            height=30 src="../img/bottom.gif" width=158> 
      </DIV></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></DIV>
<DIV id=content_right>
<DIV class=content_top1>部门信息: </DIV><BR><BR>
<SCRIPT type=text/javascript>
function delet(){
	var b=document.getElementsByName("check");
	var flag=0;
		for(var i=0;i<b.length;i++)
		{
			if(b[i].checked)
				flag=1;
		}
		if(flag==1)
			{
			if(confirm("确认删除")==true){		
			          document.myForm.submit();
			      }
			}
		if(flag==0)
			alert("请选中角色");

}

</SCRIPT>

<FORM name=myForm action=dept.do?oprate=delete method=post>
<TABLE class=table cellSpacing=1>
  <TBODY>
  <TR class=table_header>
    <TD vAlign=center align=left></TD>
    <TD vAlign=center align=left>ID </TD>
    <TD vAlign=center align=left>部门名称 </TD>
    <TD vAlign=center align=left>管理人 </TD>
    <TD vAlign=center align=left></TD></TR>
  <TR class=row2 onmouseover="this.className='row1'" 
  onmouseout="this.className='row2'">
    <TD vAlign=center align=left><INPUT type=checkbox value=1 name=check> </TD>
    <TD vAlign=center align=left>1 </TD>
    <TD vAlign=center align=left>技术研发部 </TD>
    <TD vAlign=center align=left>王成 </TD>
    <TD vAlign=center align=left><INPUT class=button onclick="location='dept.do?oprate=updateForm&amp;id=1'" type=button value=更改»> 
    </TD></TR>
  <TR class=row2 onmouseover="this.className='row1'" 
  onmouseout="this.className='row2'">
    <TD vAlign=center align=left><INPUT type=checkbox value=2 name=check> </TD>
    <TD vAlign=center align=left>2 </TD>
    <TD vAlign=center align=left>市场部 </TD>
    <TD vAlign=center align=left>魏爱民 </TD>
    <TD vAlign=center align=left><INPUT class=button onclick="location='dept.do?oprate=updateForm&amp;id=2'" type=button value=更改»> 
    </TD></TR>
  <TR class=row2 onmouseover="this.className='row1'" 
  onmouseout="this.className='row2'">
    <TD vAlign=center align=left><INPUT type=checkbox value=3 name=check> </TD>
    <TD vAlign=center align=left>3 </TD>
    <TD vAlign=center align=left>人力资源部 </TD>
    <TD vAlign=center align=left>潘正军 </TD>
    <TD vAlign=center align=left><INPUT class=button onclick="location='dept.do?oprate=updateForm&amp;id=3'" type=button value=更改»> 
    </TD></TR>
  <TR class=row2 onmouseover="this.className='row1'" 
  onmouseout="this.className='row2'">
    <TD vAlign=center align=left><INPUT type=checkbox value=6 name=check> </TD>
    <TD vAlign=center align=left>6 </TD>
    <TD vAlign=center align=left>财务部 </TD>
    <TD vAlign=center align=left>王淑霞 </TD>
    <TD vAlign=center align=left><INPUT class=button onclick="location='dept.do?oprate=updateForm&amp;id=6'" type=button value=更改»> 
    </TD></TR></TBODY></TABLE><BR><BR><BR>
<P class=paging>&lt;&lt; 首页 &lt; 上一页 <STRONG>第1页/共1页</STRONG> 下一页&gt; 末页 
&gt;&gt; </P><BR>
<P align=right><INPUT class=button onclick="location='dept.do?oprate=addForm'" type=button value=新建»> 
<INPUT class=button onclick=delet() type=button value=删除»> 
</P></FORM></DIV></DIV></DIV>
<DIV id=footer>京ICP备05002571号|中国移动通信版权所有 </DIV></DIV></BODY></HTML>
